import {Navigate} from 'react-router-dom'
import Home from '../pages/Home'
import HomePage from "../pages/Home/HomePage";
import Course from "../pages/Home/course/Course";
import Pins from "../pages/Home/Pins/Pins";
import Recommended from '../pages/Home/HomePage/Recommended'
const indexRouter = [
    {
        path: "/",
        element: <Home/>,
        children: [
            {
                path: "", element: <HomePage/>,
                children: [
                    {path: 'recommended', element: <Recommended/>},
                    {path: '', element: <Recommended/>},
                ]
            },
            {path:"pins",element: <Pins/>},
            {path: "/course", element: <Course/>},
        ]
    },


]

export default indexRouter
